package com.yunzhong.appointment.system.page;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class DoctorPage {
    /**
     * 默认查询第几页
     */
    private Integer pageNum = 1;
    /**
     * 每页查询第几条
     */
    private Integer pageSize = 10;

    private String dpId;

    private String dpName;

    public String getDpId() {
        return dpId;
    }

    public void setDpId(String dpId) {
        this.dpId = dpId;
    }

    public String getDpName() {
        return dpName;
    }

    public void setDpName(String dpName) {
        this.dpName = dpName;
    }

    public Date getSchedulingDate() {
        return schedulingDate;
    }

    public void setSchedulingDate(Date schedulingDate) {
        this.schedulingDate = schedulingDate;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date schedulingDate;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


}
